| Fully Qualified Name: | Laminas\Router\Http\Regex |
| Implements: | RouteInterface |
Regex route.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Create a new regex route. | Regex |
| assemble() | assemble(): Defined by RouteInterface interface. | Regex |
| factory() | factory(): defined by RouteInterface interface. | Regex |
| getAssembledParams() | getAssembledParams(): defined by RouteInterface interface. | Regex |
| match() | match(): defined by RouteInterface interface. | Regex |
Create a new regex route.
| Parameter Name | Type | Description |
|---|---|---|
| $regex | string | |
| $spec | string | |
| $defaults | array |
Returns:
assemble(): Defined by RouteInterface interface.
| Parameter Name | Type | Description |
|---|---|---|
| $params | array | |
| $options | array |
Returns: mixed
factory(): defined by RouteInterface interface.
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable |
Returns: \Regex
getAssembledParams(): defined by RouteInterface interface.
Returns: array
match(): defined by RouteInterface interface.
| Parameter Name | Type | Description |
|---|---|---|
| $request | \Request | |
| $pathOffset | int |
Returns: \RouteMatch|null